﻿using System.Text.Json.Serialization;

namespace Acme.ELeMe.SDK.Response
{
    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuShopCategoryGetResult
    {
        public List<SkuShopCategoryGetData>? categorys { get; set; }
    }

    [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
    public class SkuShopCategoryGetData
    {
        public long category_id { get; set; }
        public string? name { get; set; }
        public int rank { get; set; }
        public List<SkuShopCategoryGetData>? children { get; set; }
    }
}
